package bean;

import java.util.Date;

public class catagory{	  
	    private Integer id;
	    private Integer parentid;
    private String catename;
    private String state;
    private Date createtime;
    private String a;
    private String b;
    private String c;
	public catagory(Integer cateid, Integer parentid, String catename, String state, Date createtime, String a,
			String b, String c) {
		super();
		this.id = cateid;
		this.parentid = parentid;
		this.catename = catename;
		this.state = state;
		this.createtime = createtime;
		this.a = a;
		this.b = b;
		this.c = c;
	}
	public catagory( Integer parentid, String catename, String state, Date createtime) {
		super();
		
		this.parentid = parentid;
		this.catename = catename;
		this.state = state;
		this.createtime = createtime;
	
	}
	public catagory(Integer cateid, Integer parentid, String catename, String state, Date createtime			) {
		super();
		this.id = cateid;
		this.parentid = parentid;
		this.catename = catename;
		this.state = state;
		this.createtime = createtime;
	
	}
	@Override
	public String toString() {
		return "catagory [cateid=" + id + ", parentid=" + parentid + ", catename=" + catename + ", state=" + state
				+ ", createtime=" + createtime + ", a=" + a + ", b=" + b + ", c=" + c + "]";
	}
	/**
	 * @return the cateid
	 */
	public Integer getCateid() {
		return id;
	}
	/**
	 * @param cateid the cateid to set
	 */
	public void setCateid(Integer cateid) {
		this.id = cateid;
	}
	/**
	 * @return the parentid
	 */
	public Integer getParentid() {
		return parentid;
	}
	/**
	 * @param parentid the parentid to set
	 */
	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}
	/**
	 * @return the catename
	 */
	public String getCatename() {
		return catename;
	}
	/**
	 * @param catename the catename to set
	 */
	public void setCatename(String catename) {
		this.catename = catename;
	}
	/**
	 * @return the state
	 */
	public String getState() {
		return state;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 * @return the createtime
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * @param createtime the createtime to set
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	 * @return the a
	 */
	public String getA() {
		return a;
	}
	/**
	 * @param a the a to set
	 */
	public void setA(String a) {
		this.a = a;
	}
	/**
	 * @return the b
	 */
	public String getB() {
		return b;
	}
	/**
	 * @param b the b to set
	 */
	public void setB(String b) {
		this.b = b;
	}
	/**
	 * @return the c
	 */
	public String getC() {
		return c;
	}
	/**
	 * @param c the c to set
	 */
	public void setC(String c) {
		this.c = c;
	}
	public catagory() {
		super();
	}
	
    
}